package com.ruoyi.user.model.pojo.request.app;

import com.ruoyi.common.core.annotation.valid.group.ValidGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import javax.validation.constraints.NotBlank;

@Getter
@Setter
@Schema(description = "APP-更新用户参数")
public class AppUpdateUserRequest {

    @Schema(description = "年龄")
    private Integer age;

    @Schema(description = "头像")
    @NotBlank(message = "头像不能为空", groups = {ValidGroup.Update.class})
    private String photo;

    @Schema(description = "昵称")
    @NotBlank(message = "昵称不能为空", groups = {ValidGroup.Update.class})
    private String nickName;

    @Schema(description = "背景图url")
    private String backgroundUrl;

    @Schema(description = "0女1男2未知")
    private Integer sex;

    @Schema(description = "省份")
    private String province;

    @Schema(description = "个性签名")
    private String personalityName;

    @Schema(description = "兴趣爱好")
    private String interestHobby;

}
